package com.yss.datamiddle.dto;

import com.yss.datamiddle.vo.PageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 数据评分管理
 * @author: FLJ
 * @create: 2020/07/10 13:22
 * @update: 2020/07/10 13:22
 */
@ApiModel(value = "数据评分管理add")
@Data
public class ScoreLevelAddDto {
    /**
     * 起始分数值
     */
    @ApiModelProperty(value = "起始分数值",required = true)
    private Integer scoreStart;

    /**
     * 结束分数值
     */
    @ApiModelProperty(value = "结束分数值",required = true)
    private Integer scoreEnd;

    /**
     * 级别数值
     */
    @ApiModelProperty(value = "级别数值",required = true)
    @NotBlank(message = "不能为空")
    private String levelCode;

    /**
     * 级别名称
     */
    @ApiModelProperty(value = "级别名称",required = true)
    @NotBlank(message = "不能为空")
    private String levelName;

}
